package LexicalSyntacticAnalysis.syntaxtree;
import TypeChecking.TypeCheckVisitor;
import visitor.TypeVisitor;
import visitor.Visitor;
import IntermediateCodeGeneration.translate.IRTranslateVisitor;

public class Print extends Statement {
  public Exp e;

  public Print(Exp ae) {
    e=ae; 
  }

  @Override
public void accept(Visitor v) {
    v.visit(this);
  }

  @Override
public Type accept(TypeVisitor v) {
    return v.visit(this);
  }

  @Override
  public void accept(TypeCheckVisitor v) {
	  v.visit(this);
  }

	@Override
	public IntermediateCodeGeneration.translate.Exp accept(IRTranslateVisitor v) {
		return v.visit(this);
	}
}

